package com.itheima.service;


import com.itheima.domain.Teacher;

import java.util.ArrayList;

/*
老师业务处理接口
 */
public interface ITeacherService {
    //增
    void add(Teacher teacher);
    //删
    void delete(String sid);
    //改
    void update(String sid,Teacher newTeacher);
    //查
    ArrayList<Teacher> findAllTeachers();
    //判断学号是否存在
    boolean isExist(String sid);

}
